BEGIN{
  item=ARGV[2]; ARGC-=1;
}
{
  sub(/^./,"",$1);
  if($1 == item){
#    print $0;
    preamb=substr($1,1,1);
    n=index($0,":");
    head=substr($0,1,n);
    msg="   "substr($0,n+1,length($0));
    if(preamb=="-"){b="Option"};
    if(preamb=="@"){b="Keyword"};
    if(preamb=="!"){b="Program"};
    if(preamb=="\\"){b="Pragma"};
    head=b" "head;
  }
}
END{if(head){print head;print msg}else{print "No doc available for \""item"\""}}
